package cn.stylefeng.guns.modular.business.pojo;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 用户管理请求
 *
 * @author 施律名
 * @date 2022-03-10 17:08:34
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WxExpenseRequest extends BaseRequest {

    /**
     * 消费账单编号
     */
    @NotNull(message = "消费账单编号", groups = {edit.class, delete.class, detail.class})
    private Long wxExpenseId;

    /**
     * 消费用户
     */
    @NotNull(message = "消费用户", groups = {add.class, edit.class,  detail.class})
    private Long wxExpenseUserId;

    /**
     * 使用设备时长
     */
    @NotBlank(message = "使用设备时长", groups = {add.class, edit.class})
    private Long wxExpenseTime;

    /**
     * 使用金额
     */
    @NotNull(message = "使用金额", groups = {add.class, edit.class})
    private BigDecimal wxExpenseInstall;


}